﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditCoupon.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Weixin.EditCoupon"  ValidateRequest="False" %>

<%@ Import Namespace ="ZLCMS.Business.Util" %>
<%@ Register src="~/SystemManage/Control/JFileControl.ascx" tagname="JFileControl" tagprefix="jfc" %>

<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Weixin/Coupon/EditCoupon.aspx">
    
<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
        <dl class="nowrap">
            <dt>代码：</dt>
            <dd><asp:TextBox ID="tb_no" Width="150px" runat="server"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>标题：</dt>
            <dd><asp:TextBox ID="tb_name" Width="300px" runat="server"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>图片链接：</dt>
            <dd>（支持JPG、PNG格式，较好的效果为150*150）</dd>
        </dl>
        <dl class="nowrap">
            <dt>&nbsp;</dt>
            <dd><jfc:JFileControl ID="fc_pic" runat="server" FileCountLimit="1" FileFilters="*.jpg;*.jpeg;*.bmp;*.png;*.gif" FileDesc="图片"/></dd>
        </dl>
        <dl class="nowrap">
            <dt>排序：</dt>
            <dd><asp:TextBox ID="tb_order" runat="server">99</asp:TextBox>&nbsp;（数字越小排序越靠前）</dd>
        </dl>
        <dl class="nowrap">
            <dt>优惠内容：</dt>
            <dd>
                <textarea class="editor" name="txtContent" rows="8" cols="75" style="width: 100%" id="txtContent" runat="Server"
                    uplinkurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=zip,rar,txt" uplinkext="zip,rar,txt"
                    upimgurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=jpg,jpeg,gif,png" upimgext="jpg,jpeg,gif,png"
                    upflashurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=swf" upflashext="swf"
                    upmediaurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=avi" upmediaext="avi">
                </textarea>
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>使用说明：</dt>
            <dd>
                <textarea class="editor" name="txtContent" rows="8" cols="75" style="width: 100%" id="txt_desc" runat="Server"
                    uplinkurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=zip,rar,txt" uplinkext="zip,rar,txt"
                    upimgurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=jpg,jpeg,gif,png" upimgext="jpg,jpeg,gif,png"
                    upflashurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=swf" upflashext="swf"
                    upmediaurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=avi" upmediaext="avi">
                </textarea>
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>是否启用：</dt>
            <dd>
                <asp:dropdownlist runat="server" id="ddl_isa" width="150px"></asp:dropdownlist>
            </dd>
        </dl>
	</div>
	
    <div class="formBar">
		<ul>
            <li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
			<li>
				<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
			</li>
		</ul>
	</div>
</div>
</form>

